package com.admin.utils;

public enum OrderStatus {
    PRE("待处理"), INIT("待付款"),CANCEL("已取消"),PAID("已付款"), VERIFIED("已核销");
    OrderStatus(String desc) {
        this.desc = desc;
    }

    private String desc;

    public String getDesc() {
        return this.desc;
    }

    public static void main(String[] args) {
        OrderStatus os = OrderStatus.valueOf("PAID");
        System.out.println(os.ordinal());
    }
}
